package net.jeeshop.services.front.bbs.dao;

import net.jeeshop.core.DaoManager;
import net.jeeshop.services.front.bbs.bean.BbsDetail;
import net.jeeshop.services.front.bbs.bean.BbsImg;
import net.jeeshop.services.front.bbs.dto.BbsDetailDTO;

import java.util.List;
import java.util.Map;

/**
 * Created by zuohao on 16/7/7.
 */
public interface BbsDetailDao extends DaoManager<BbsDetail> {
    public List selectBbsDetailList(Map<String,Object> map);

    public int selectBbsDetailCountList(Map<String,Object> map);

    public void insertBbsDetail(BbsDetail bbsDetail);

    public int deleteBbsDetailById(Map detailId);

    void insertBbsImage(BbsImg bbsImg);

    List<BbsImg> selectBbsImage(String id);

    BbsDetailDTO selectBbsDetail(BbsDetail bbsDetail);
}
